<template>
    <div>
      1111
      <com v-model="title"></com>
      {{title}}
      <button @click="parent">Parent</button>
    </div>
</template>

<script>
import com from './com'
export default {
  components: {
    com
  },
  data() {
    return {  
      title: '路奇'
    }
  },
  methods: {  
    parent(){
      this.title += 'a'
    }
  },
  mounted () {

  }
}
</script>
<style scoped>
.oper{font-size: 0.5rem;padding: 0.2rem 0;}
</style>